package tv.youxing.android.entity;

import java.util.List;

/**
 * Created by Administrator on 2017/6/26.
 * 我的消息
 */

public class MyMessageModel {

    /**
     * code : 200
     * result : {"current_page":1,"data":[{"comment_id":23,"comment_type":1,"content":"山雨欲来风满楼","like_count":"0","publish_time":"3小时前","publish_user":{"avatar":"http://youxingshiting.oss-cn-shanghai.aliyuncs.com/68869011f1d160dc13b0b99c7da49be5.png","fans_count":0,"follow_count":0,"user_id":18,"username":"17oz"},"publish_user_id":18,"resource_id":100,"resource_type":2,"target":"佛教论坛","target_user":{"avatar":"http://youxingshiting.oss-cn-shanghai.aliyuncs.com/de4365654a480534cc30ee93f74589a7.jpg","fans_count":0,"follow_count":0,"user_id":20,"username":"test"},"target_user_id":20},{"comment_id":24,"comment_type":1,"content":"北国风光","like_count":"0","publish_time":"3小时前","publish_user":{"avatar":"http://youxingshiting.oss-cn-shanghai.aliyuncs.com/68869011f1d160dc13b0b99c7da49be5.png","fans_count":0,"follow_count":0,"user_id":18,"username":"17oz"},"publish_user_id":18,"resource_id":101,"resource_type":2,"target":"投了简历了","target_user":{"avatar":"http://youxingshiting.oss-cn-shanghai.aliyuncs.com/de4365654a480534cc30ee93f74589a7.jpg","fans_count":0,"follow_count":0,"user_id":20,"username":"test"},"target_user_id":20},{"comment_id":25,"comment_type":1,"content":"周杰伦厦门演唱会，诶呦不错","like_count":"0","publish_time":"3小时前","publish_user":{"avatar":"http://youxingshiting.oss-cn-shanghai.aliyuncs.com/68869011f1d160dc13b0b99c7da49be5.png","fans_count":0,"follow_count":0,"user_id":18,"username":"17oz"},"publish_user_id":18,"resource_id":102,"resource_type":2,"target":"啦具体","target_user":{"avatar":"http://youxingshiting.oss-cn-shanghai.aliyuncs.com/de4365654a480534cc30ee93f74589a7.jpg","fans_count":0,"follow_count":0,"user_id":20,"username":"test"},"target_user_id":20},{"comment_id":26,"comment_type":1,"content":"周杰伦厦门演唱会，诶呦不错","like_count":"0","publish_time":"3小时前","publish_user":{"avatar":"http://youxingshiting.oss-cn-shanghai.aliyuncs.com/68869011f1d160dc13b0b99c7da49be5.png","fans_count":0,"follow_count":0,"user_id":18,"username":"17oz"},"publish_user_id":18,"resource_id":103,"resource_type":2,"target":"可可粉","target_user":{"avatar":"http://youxingshiting.oss-cn-shanghai.aliyuncs.com/de4365654a480534cc30ee93f74589a7.jpg","fans_count":0,"follow_count":0,"user_id":20,"username":"test"},"target_user_id":20},{"comment_id":27,"comment_type":1,"content":"周杰伦厦门演唱会，诶呦不错","like_count":"0","publish_time":"3小时前","publish_user":{"avatar":"http://youxingshiting.oss-cn-shanghai.aliyuncs.com/68869011f1d160dc13b0b99c7da49be5.png","fans_count":0,"follow_count":0,"user_id":18,"username":"17oz"},"publish_user_id":18,"resource_id":104,"resource_type":2,"target":"疼图","target_user":{"avatar":"http://youxingshiting.oss-cn-shanghai.aliyuncs.com/de4365654a480534cc30ee93f74589a7.jpg","fans_count":0,"follow_count":0,"user_id":20,"username":"test"},"target_user_id":20}],"per_page":10,"total":5,"total_page":1}
     * status : 成功
     */

    private int code;
    private ResultBean result;
    private String status;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public static class ResultBean {
        /**
         * current_page : 1
         * data : [{"comment_id":23,"comment_type":1,"content":"山雨欲来风满楼","like_count":"0","publish_time":"3小时前","publish_user":{"avatar":"http://youxingshiting.oss-cn-shanghai.aliyuncs.com/68869011f1d160dc13b0b99c7da49be5.png","fans_count":0,"follow_count":0,"user_id":18,"username":"17oz"},"publish_user_id":18,"resource_id":100,"resource_type":2,"target":"佛教论坛","target_user":{"avatar":"http://youxingshiting.oss-cn-shanghai.aliyuncs.com/de4365654a480534cc30ee93f74589a7.jpg","fans_count":0,"follow_count":0,"user_id":20,"username":"test"},"target_user_id":20},{"comment_id":24,"comment_type":1,"content":"北国风光","like_count":"0","publish_time":"3小时前","publish_user":{"avatar":"http://youxingshiting.oss-cn-shanghai.aliyuncs.com/68869011f1d160dc13b0b99c7da49be5.png","fans_count":0,"follow_count":0,"user_id":18,"username":"17oz"},"publish_user_id":18,"resource_id":101,"resource_type":2,"target":"投了简历了","target_user":{"avatar":"http://youxingshiting.oss-cn-shanghai.aliyuncs.com/de4365654a480534cc30ee93f74589a7.jpg","fans_count":0,"follow_count":0,"user_id":20,"username":"test"},"target_user_id":20},{"comment_id":25,"comment_type":1,"content":"周杰伦厦门演唱会，诶呦不错","like_count":"0","publish_time":"3小时前","publish_user":{"avatar":"http://youxingshiting.oss-cn-shanghai.aliyuncs.com/68869011f1d160dc13b0b99c7da49be5.png","fans_count":0,"follow_count":0,"user_id":18,"username":"17oz"},"publish_user_id":18,"resource_id":102,"resource_type":2,"target":"啦具体","target_user":{"avatar":"http://youxingshiting.oss-cn-shanghai.aliyuncs.com/de4365654a480534cc30ee93f74589a7.jpg","fans_count":0,"follow_count":0,"user_id":20,"username":"test"},"target_user_id":20},{"comment_id":26,"comment_type":1,"content":"周杰伦厦门演唱会，诶呦不错","like_count":"0","publish_time":"3小时前","publish_user":{"avatar":"http://youxingshiting.oss-cn-shanghai.aliyuncs.com/68869011f1d160dc13b0b99c7da49be5.png","fans_count":0,"follow_count":0,"user_id":18,"username":"17oz"},"publish_user_id":18,"resource_id":103,"resource_type":2,"target":"可可粉","target_user":{"avatar":"http://youxingshiting.oss-cn-shanghai.aliyuncs.com/de4365654a480534cc30ee93f74589a7.jpg","fans_count":0,"follow_count":0,"user_id":20,"username":"test"},"target_user_id":20},{"comment_id":27,"comment_type":1,"content":"周杰伦厦门演唱会，诶呦不错","like_count":"0","publish_time":"3小时前","publish_user":{"avatar":"http://youxingshiting.oss-cn-shanghai.aliyuncs.com/68869011f1d160dc13b0b99c7da49be5.png","fans_count":0,"follow_count":0,"user_id":18,"username":"17oz"},"publish_user_id":18,"resource_id":104,"resource_type":2,"target":"疼图","target_user":{"avatar":"http://youxingshiting.oss-cn-shanghai.aliyuncs.com/de4365654a480534cc30ee93f74589a7.jpg","fans_count":0,"follow_count":0,"user_id":20,"username":"test"},"target_user_id":20}]
         * per_page : 10
         * total : 5
         * total_page : 1
         */

        private int current_page;
        private int per_page;
        private int total;
        private int total_page;
        private List<DataBean> data;

        public int getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(int current_page) {
            this.current_page = current_page;
        }

        public int getPer_page() {
            return per_page;
        }

        public void setPer_page(int per_page) {
            this.per_page = per_page;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getTotal_page() {
            return total_page;
        }

        public void setTotal_page(int total_page) {
            this.total_page = total_page;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * comment_id : 23
             * comment_type : 1
             * content : 山雨欲来风满楼
             * like_count : 0
             * publish_time : 3小时前
             * publish_user : {"avatar":"http://youxingshiting.oss-cn-shanghai.aliyuncs.com/68869011f1d160dc13b0b99c7da49be5.png","fans_count":0,"follow_count":0,"user_id":18,"username":"17oz"}
             * publish_user_id : 18
             * resource_id : 100
             * resource_type : 2
             * target : 佛教论坛
             * target_user : {"avatar":"http://youxingshiting.oss-cn-shanghai.aliyuncs.com/de4365654a480534cc30ee93f74589a7.jpg","fans_count":0,"follow_count":0,"user_id":20,"username":"test"}
             * target_user_id : 20
             */

            private int comment_id;
            private int comment_type;
            private String content;
            private String like_count;
            private String publish_time;
            private PublishUserBean publish_user;
            private int publish_user_id;
            private int resource_id;
            private int resource_type;
            private String target;
            private TargetUserBean target_user;
            private int target_user_id;
            private int is_like;
            private int comment_count;

            public int getComment_count() {
                return comment_count;
            }

            public void setComment_count(int comment_count) {
                this.comment_count = comment_count;
            }

            public int getIs_like() {
                return is_like;
            }

            public void setIs_like(int is_like) {
                this.is_like = is_like;
            }

            public int getComment_id() {
                return comment_id;
            }

            public void setComment_id(int comment_id) {
                this.comment_id = comment_id;
            }

            public int getComment_type() {
                return comment_type;
            }

            public void setComment_type(int comment_type) {
                this.comment_type = comment_type;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getLike_count() {
                return like_count;
            }

            public void setLike_count(String like_count) {
                this.like_count = like_count;
            }

            public String getPublish_time() {
                return publish_time;
            }

            public void setPublish_time(String publish_time) {
                this.publish_time = publish_time;
            }

            public PublishUserBean getPublish_user() {
                return publish_user;
            }

            public void setPublish_user(PublishUserBean publish_user) {
                this.publish_user = publish_user;
            }

            public int getPublish_user_id() {
                return publish_user_id;
            }

            public void setPublish_user_id(int publish_user_id) {
                this.publish_user_id = publish_user_id;
            }

            public int getResource_id() {
                return resource_id;
            }

            public void setResource_id(int resource_id) {
                this.resource_id = resource_id;
            }

            public int getResource_type() {
                return resource_type;
            }

            public void setResource_type(int resource_type) {
                this.resource_type = resource_type;
            }

            public String getTarget() {
                return target;
            }

            public void setTarget(String target) {
                this.target = target;
            }

            public TargetUserBean getTarget_user() {
                return target_user;
            }

            public void setTarget_user(TargetUserBean target_user) {
                this.target_user = target_user;
            }

            public int getTarget_user_id() {
                return target_user_id;
            }

            public void setTarget_user_id(int target_user_id) {
                this.target_user_id = target_user_id;
            }

            public static class PublishUserBean {
                /**
                 * avatar : http://youxingshiting.oss-cn-shanghai.aliyuncs.com/68869011f1d160dc13b0b99c7da49be5.png
                 * fans_count : 0
                 * follow_count : 0
                 * user_id : 18
                 * username : 17oz
                 */

                private String avatar;
                private int fans_count;
                private int follow_count;
                private int user_id;
                private String username;

                public String getAvatar() {
                    return avatar;
                }

                public void setAvatar(String avatar) {
                    this.avatar = avatar;
                }

                public int getFans_count() {
                    return fans_count;
                }

                public void setFans_count(int fans_count) {
                    this.fans_count = fans_count;
                }

                public int getFollow_count() {
                    return follow_count;
                }

                public void setFollow_count(int follow_count) {
                    this.follow_count = follow_count;
                }

                public int getUser_id() {
                    return user_id;
                }

                public void setUser_id(int user_id) {
                    this.user_id = user_id;
                }

                public String getUsername() {
                    return username;
                }

                public void setUsername(String username) {
                    this.username = username;
                }
            }

            public static class TargetUserBean {
                /**
                 * avatar : http://youxingshiting.oss-cn-shanghai.aliyuncs.com/de4365654a480534cc30ee93f74589a7.jpg
                 * fans_count : 0
                 * follow_count : 0
                 * user_id : 20
                 * username : test
                 */

                private String avatar;
                private int fans_count;
                private int follow_count;
                private int user_id;
                private String username;

                public String getAvatar() {
                    return avatar;
                }

                public void setAvatar(String avatar) {
                    this.avatar = avatar;
                }

                public int getFans_count() {
                    return fans_count;
                }

                public void setFans_count(int fans_count) {
                    this.fans_count = fans_count;
                }

                public int getFollow_count() {
                    return follow_count;
                }

                public void setFollow_count(int follow_count) {
                    this.follow_count = follow_count;
                }

                public int getUser_id() {
                    return user_id;
                }

                public void setUser_id(int user_id) {
                    this.user_id = user_id;
                }

                public String getUsername() {
                    return username;
                }

                public void setUsername(String username) {
                    this.username = username;
                }
            }
        }
    }
}
